import request from '@/utils/request'

export const uploadFile = (data) => {
  return request({
    method: 'post',
    url: `/attach/uploadFile`,
    data,
    headers: {
      'Content-Type': 'multipart/form-data',
    },
  });
};